import org.springframework.stereotype.Component;

@Component
public class YourFallback implements YourFeignClient {
    @Override
    public String yourMethod() {
        return fallbackForYourMethod();
    }

    public String fallbackForYourMethod() {
        // 返回服务降级响应
        return "Fallback response";
    }
}
